package scatter.comment.pojo.hierarchical.form;

import scatter.common.pojo.form.BaseAddForm;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import scatter.common.pojo.po.BasePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 评论点赞添加表单对象
 * </p>
 *
 * @author yw
 * @since 2021-02-09
 */
@Setter
@Getter
@ApiModel(value="评论点赞添加表单对象")
public class CommentHierarchicalStarAddForm extends BaseAddForm {

    @NotEmpty(message = "评论表id不能为空")
    @ApiModelProperty(value = "评论表id",required = true)
    private String commentHierarchicalId;

    @NotNull(message="点赞时间不能为空")
    @ApiModelProperty(value = "点赞时间",required = true)
    private LocalDateTime timeAt;

    @NotEmpty(message="点赞人用户id不能为空")
    @ApiModelProperty(value = "点赞人用户id",required = true)
    private String ownerUserId;

    @NotEmpty(message="点赞人用户昵称不能为空")
    @ApiModelProperty(value = "点赞人用户昵称",required = true)
    private String ownerUserNickname;

    @ApiModelProperty(value = "点赞人用户头像")
    private String ownerUserAvatar;

    @NotNull(message="所在楼层不能为空")
    @ApiModelProperty(value = "所在楼层，排序，升序",required = true)
    private Integer floor;


}
